package com.cy.mall.service.goods.impl;

import com.cy.mall.dao.mapper.goods.GoodsTypeMapper;
import com.cy.mall.model.vo.goods.GoodsTypeListVO;
import com.cy.mall.service.BaseService;
import com.cy.mall.service.goods.GoodsTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description 商品品类 接口实现类
 * @Author tanyilin
 * @Date 2019/9/27 15:49
 */
@Service
public class GoodsTypeServiceImpl extends BaseService implements GoodsTypeService {

    @Autowired
    private GoodsTypeMapper goodsTypeMapper;


    @Override
    public List<GoodsTypeListVO> getAllEnableGoodsTypeList() {

        List<GoodsTypeListVO> list = goodsTypeMapper.selectAllEnableGoodsTypeList();
        return list;
    }
}
